<?php

/**
 * user actions.
 *
 * @package    dookh
 * @subpackage user
 * @author     Your name here
 * @version    SVN: $Id: actions.class.php 23810 2009-11-12 11:07:44Z Kris.Wallsmith $
 */
class userActions extends sfActions
{
 /**
  * Executes index action
  *
  * @param sfRequest $request A request object
  */
  public function executeIndex(sfWebRequest $request)
  {
    $this->forward('default', 'module');
  }
  
  public function executeSignin(sfWebRequest $request)
  {
      $userinfo = array();
      $userinfo['user']     = "AmeL";
  	  $userinfo['password'] = "w4rsafowasoiwierw";
  	  $userinfo['time']     = "2011/04/17 08:44:10";
  	  $userinfo['access']   = "wfkfiouoiatuef'sfsaoflfj";
  	 $this->renderText(json_encode($userinfo));
  	 return sfView::NONE;
  }
}
